/*
** my_get_snbr.c for bistro in /home/boulah_m/bistro/bistro
** 
** Made by moustafa boulahia
** Login   <boulah_m@epitech.net>
** 
** Started on  Thu Nov 10 08:44:42 2011 moustafa boulahia
** Last update Thu Nov 10 08:52:18 2011 moustafa boulahia
*/
int	my_get_snbr(char c)
{
  int result;

  if (c >= '0' && c <= '9')
    {
      result = (c - '0');
      return (result);
    }
  else
    {
      return (0);
    }
}
